<tw-formdef
  [key]="key"
  [viewModel]="viewModel"
  [showSave]="true"
  [showDelete]="!isNew"
  (submitted)="submitted($event)"
  (deleted)="deleted($event)">
</tw-formdef>
